package commands;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;

import control.ComponentProvider;
import factory.components.RailMountedGantry;

public class AddRailMountedGantry extends AbstractHandler {
	@Override
	public Object execute(ExecutionEvent event) {
		RailMountedGantry rail = new RailMountedGantry();
		ComponentProvider.INSTANCE.setComponent(rail);
		return null;
	}
}
